﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZK.Common
{
    public class YxYsTransportReturnDto
    {
        private double? _buckleWeight;
        /// <summary>
        ///   扣重 ,
        /// </summary>
        public double? buckleWeight
        {
            get
            {
                return _buckleWeight == null ? 0 : _buckleWeight;
            }
            set { _buckleWeight = value; }
        }
        /// <summary>
        ///  扣重原因 ,
        /// </summary>
        public string buckleWeightReason { get; set; }
        /// <summary>
        /// 取消原因 ,
        /// </summary>
        public string cancelMemo { get; set; }
        /// <summary>
        ///  运输卡主键 ,
        /// </summary>
        public int? cardId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string cardNo { get; set; }
        /// <summary>
        ///  运输卡号 ,
        /// </summary>
        public int? cargoId { get; set; }
        /// <summary>
        ///  货种 ,
        /// </summary>
        public string cargoName { get; set; }
        /// <summary>
        /// 承运单位主键 ,
        /// </summary>
        public int? carrierId { get; set; }
        /// <summary>
        ///  承运方 ,
        /// </summary>
        public string carrierName { get; set; }
        /// <summary>
        ///  创建时间 ,
        /// </summary>
        public DateTime? creationTime { get; set; }
        /// <summary>
        ///  创建人 ,
        /// </summary>
        public int? creatorUserId { get; set; }
        /// <summary>
        /// 所属公司id ,
        /// </summary>
        public int? deptId { get; set; }
        /// <summary>
        ///  入场主键 ,
        /// </summary>
        public int? intoid { get; set; }
        private double? _jz;
        /// <summary>
        ///  净重 ,
        /// </summary>
        public double? jz
        {
            get
            {
                return _jz == null ? 0 : _jz;
            }
            set { _jz = value; }
        }
        /// <summary>
        /// 装车信息id ,
        /// </summary>
        public int? lid { get; set; }
        /// <summary>
        ///  备注 ,
        /// </summary>
        public string memo { get; set; }
        /// <summary>
        ///  修改时间 ,
        /// </summary>
        public DateTime? modifyTime { get; set; }
        /// <summary>
        /// 修改人 ,
        /// </summary>
        public int? modifyUserId { get; set; }
        private double? _mz;
        /// <summary>
        /// 毛重 ,
        /// </summary>
        public double? mz
        {
            get
            {
                return _mz == null ? 0 : _mz;
            }
            set { _mz = value; }
        }
        /// <summary>
        /// 毛重时间
        /// </summary>
        public string mzTime { get; set; }
        /// <summary>
        /// 毛重司磅员
        /// </summary>
        public string mzMan { get; set; }
        /// <summary>
        /// 出场主键 ,
        /// </summary>
        public int? outid { get; set; }
        // 计划单编号 ,
        public string poCode { get; set; }
        /// <summary>
        /// 计划单主键 ,
        /// </summary>
        public int? poid { get; set; }
        /// <summary>
        ///  生成磅单时间 ,
        /// </summary>
        public DateTime? printTime { get; set; }
        private double? _pz;
        /// <summary>
        ///  皮重 ,
        /// </summary>
        public double? pz
        {
            get
            {
                return _pz == null ? 0 : _pz;
            }
            set { _pz = value; }
        }
        /// <summary>
        /// 皮重时间
        /// </summary>
        public string pzTime { get; set; }
        /// <summary>
        /// 皮重司磅员
        /// </summary>
        public string pzMan { get; set; }
        /// <summary>
        ///  收货方id ,
        /// </summary>
        public int? receivingPartyId { get; set; }
        /// <summary>
        ///  收货方 ,
        /// </summary>
        public string receivingPartyName { get; set; }
        /// <summary>
        ///  派车类型：1.采购派车 2.销售派车 ,
        /// </summary>
        public Common.SysDefinitionEnum.SendType? sendType { get; set; }
        /// <summary>
        ///  发货方id ,
        /// </summary>
        public int? shipperId { get; set; }
        /// <summary>
        ///  发货方 ,
        /// </summary>
        public string shipperName { get; set; }
        /// <summary>
        ///  运单主键 ,
        /// </summary>
        public int? stid { get; set; }
        /// <summary>
        ///  运输单号 ,
        /// </summary>
        public string transportNum { get; set; }
        /// <summary>
        /// 车牌号 ,
        /// </summary>
        public string truckNo { get; set; }
        /// <summary>
        ///  运单状态:1进行中、2取消（作废）、3终止 、4.完成 ,
        /// </summary>
        public Common.SysDefinitionEnum.TruckState? truckState { get; set; }
        /// <summary>
        /// / 卸车信息主键 ,
        /// </summary>
        public int? uid { get; set; }
        /// <summary>
        ///  卸车时间 ,
        /// </summary>
        public DateTime? unloadTime { get; set; }
        /// <summary>
        ///  磅单号 ,
        /// </summary>
        public string wbCode { get; set; }
        /// <summary>
        ///  计量信息id ,
        /// </summary>
        public int? wid { get; set; }
        /// <summary>
        /// 运销过程状态 ,
        /// </summary>
        /*
         运销过程车辆状态：10派车、20排号_发、30放行_发、40入场_发、50除皮_发、60装车_发、70称重_发、
         80生成榜单_发、90出场_发、100终止,220.排号_收，230.放行_收，240.入场_收，243.称重_收，
         246.卸车_收，249.除皮_收，252.生成榜单_收，260.出场_收
             */
        public Common.SysDefinitionEnum.YxState? yxState { get; set; }
        /// <summary>
        /// 运销主键
        /// </summary>
        public int? yxid { get; set; }
    }
}
